<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>人物移动 & 轨迹回放</title>
    <style type="text/css">
        /* * { margin:0; padding:0; overflow:hidden; } */
        body { background-color:#282828; }
        .game-wrapper {
            /* display: flex;
            justify-content: center;
            align-items: center; */
        }
        .game-wrapper canvas {
            border: 2px solid #dd0;
            border-radius: 3px;
        }
        .tooltip {
            font-size: 14px;
            color: #fff;
        }
    </style>
</head>
<body>
    <div id="game-wrapper" class="game-wrapper"></div>
    <div class="tooltip">
        <p>人物移动：上下左右</p>
        <p>轨迹回放：单击画布内任意位置开始，再次单击暂停！</p>
    </div>
    <script src="./lib/phaser.min.js"></script>
    <script src="./src/index.js"></script>
</body>
</html>